#import <Foundation/Foundation.h>

#define DBWriteLogs(...) [DBLogsSaveTool writeLogs:[NSString stringWithFormat:__VA_ARGS__] funcLog:[NSString stringWithFormat:@" func : %s  line : %d", __func__, __LINE__] logSaveType:DLLogDefault];

typedef NS_ENUM(NSUInteger, DLLogsSaveType) {
    DLLogDefault,
};

NS_ASSUME_NONNULL_BEGIN

/// 日志保存
@interface DBLogsSaveTool : NSObject

+(void)writeLogs:(NSString *)str funcLog:(NSString *)funcStr logSaveType:(DLLogsSaveType)logSaveType;

+(void)writeLogs:(NSString *)str logSaveType:(DLLogsSaveType)logSaveType;

@end

NS_ASSUME_NONNULL_END
